package com.seashop;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author moredln
 * @desc API启动类
 * @date 2020-08-07 23:22
 */
@SpringBootApplication
@EnableFeignClients
@EnableDiscoveryClient
@MapperScan({"com.seashop.mapper", "com.seashop.feign"})
public class SeaShopApiApplication {

    public static void main(String[] args) {
        SpringApplication.run(SeaShopApiApplication.class, args);
    }

}
